package com.youlei.newgraduateproject.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.youlei.newgraduateproject.common.dto.SysMenuDto;
import com.youlei.newgraduateproject.entity.SysMenu;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author youlei
 * @since 2021-05-08
 */
public interface SysMenuService extends IService<SysMenu> {
    /**
     * @Author youlei
     * @Description 获取当前用户的菜单导航栏信息
     * @Date 20:09 2021/5/13
     * @Param: []
     * @return: java.util.List<com.youlei.newgraduateproject.common.dto.SysMenuDto>
     **/
    List<SysMenuDto> getCurrentUserNav();
    /**
     * @Author youlei
     * @Description 将菜单信息转换成树状
     * @Date 0:33 2021/5/14
     * @Param: []
     * @return: java.util.List<com.youlei.newgraduateproject.entity.SysMenu>
     **/
    List<SysMenu> tree();
}
